<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>Mass Deception</title>

<link rel="stylesheet" href="css/styles.css" type="text/css" media="screen" />

<link type="text/css" href="css/smoothness/jquery-ui-1.7.1.custom.css" rel="stylesheet" />  
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.7.1.custom.min.js"></script>

<script type="text/javascript">
  $(function() {
    $("#datepicker").datepicker({minDate: 0});
  });
</script>

</head>
<body>

<h2>Add New Slide</h2>

<form method="post" action="<%=request.getContextPath()%>/authorUploadSlide" enctype="multipart/form-data">

<table width="500">
  <tr>
    <td width="150">Title:</td>
    <td><input type="text" name="title" size="30" maxlength="255" /></td>
  </tr>
  <tr>
    <td width="150">Alt Text:</td>
    <td><input type="text" name="alttext" size="30" maxlength="255" /></td>
  </tr>
  <tr>
    <td width="150">Publish Date:</td>
    <td><input id="datepicker" type="text" name="publish" size="30" maxlength="255" /></td>
  </tr>
  <tr>
    <td width="150">Slide:</td>
    <td><input type="file" name="slide" /></td>
  </tr>
  <tr>
    <td width="150">&nbsp;</td>
    <td><input type="submit" value="Upload" /></td>
  </tr>
</table>

</form>

<br><br>

<a href="author">Manage Slides</a>

</body>
</html>